<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="css/detail.css">
<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
$(document).ready(
		function(){
			
		});
</script>
</head>
<body>
<div class="tablediv">
<form action="addOrder.do">
<table border="1" width="100%" height="200px" style="table-layout:fixed;"
cellspacing = "0" cellpadding="0">
<caption><h1>订单信息</h1></caption>
<tr><td>店铺ID</td><td><input type="text" name="order_id" disabled="disabled"></td>

</tr>
<tr><td>用户名称</td><td><select name="user_id">
<c:forEach items="${userlist }" var="user">
<option value="${user.user_id}">${user.username}</option>
</c:forEach>
</select></td></tr>
<tr><td>订购食物</td><td><select name="food_id" id="foodid">
<c:forEach items="${foodlist }" var="food">
<option value="${food.food_id}">${food.foodname}</option>
</c:forEach>
</select></td></tr>
<tr><td>数量</td><td><input type="text" name="num" id="num"></td></tr>
<tr><td>单价</td><td><input id="price" type="text" name="price" disabled="disabled"/></td></tr>
<tr><td>总价</td><td><input type="text" name="sum" id="sum"></td></tr>
<tr><td>建议送餐时间</td><td><select name="suggesttime">
<option>10:00-10:30</option>
<option>10:30-11:00</option>
<option>11:00-11:30</option>
<option>11:30-12:00</option>
<option>12:00-12:30</option>
<option>12:30-13:00</option>
<option>13:00-13:30</option>
<option>13:30-14:00</option>
</select></td></tr>

<tr><td colspan="3"><button id="tijiao">提交</button></td></tr>
</table>
</form>
</div>

</body>
</html>